{{extend 'layout.html'}}
<h2>最新的视频在前面哦~</h2>
{{for i,row in enumerate(rows):}}
{{if i==items_per_page: break}}
<h3>{{=row.title}}</h3>
<div style="position: relative; padding: 30% 45%;">
<iframe style="position: absolute; width: 100%; height: 100%; left: 0; top: 0;" src="{{=row.url}}" frameborder="no" scrolling="no" high_quality=1></iframe>
</div>
<p>
{{pass}}
<p>
{{if page:}}
<a href="{{=URL(args=[page-1])}}" class="btn btn-dark">上一页</a>
{{pass}}
{{if len(rows)>items_per_page:}}
<a href="{{=URL(args=[page+1])}}" class="btn btn-dark">下一页</a>
{{pass}}
